﻿using System.Windows.Forms;
using pub.CmdUI.Cmd;
using pub.CmdUI.UI.Control;

namespace todo.Cmd.View
{
    public class CollapseAllCmd : DefaultCmd
    {

        public CollapseAllCmd()
        {
            Shortcut = new CmdShortcut(Keys.Alt|Keys.Left);
        }

        public override void Execute(IControlUI controlUi)
        {
            TodoApi.Instance.CollapseAll();
        }
    }
}